import { Module, SetMetadata } from "@nestjs/common";
import { MODULE_PATH } from "@nestjs/common/constants";
import { TypeOrmModule } from "@nestjs/typeorm";
import { CollectController } from "../controller/collect.controller";
import { CollectService } from "../service/collect.service";
import { Goods } from "/@/entities/goods/Goods.entity";
import { Collect } from "/@/entities/operate/Collect.entity";
import { User } from "/@/entities/user/User.entity";

@Module({
  imports: [TypeOrmModule.forFeature([Collect, Goods, User])],
  controllers: [CollectController],
  providers: [CollectService],
  exports: [CollectService],
})
@SetMetadata(MODULE_PATH, "/admin")
export class CollectModule {
  //
}
